package com.ruoyi.project.men.service.impl;

import com.ruoyi.project.men.dao.MenProductFunctionDao;
import com.ruoyi.project.men.domain.MenProductFunctionDO;
import com.ruoyi.project.men.service.MenProductFunctionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MenProductFunctionServiceImpl implements MenProductFunctionService {
	@Autowired
	private MenProductFunctionDao menProductFunctionDao;
	
	@Override
	public MenProductFunctionDO get(String id){
		return menProductFunctionDao.get(id);
	}
	
	@Override
	public List<MenProductFunctionDO> list(Map<String, Object> map){
		return menProductFunctionDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return menProductFunctionDao.count(map);
	}
	
	@Override
	public int save(MenProductFunctionDO menProductFunction){
		return menProductFunctionDao.save(menProductFunction);
	}
	
	@Override
	public int update(MenProductFunctionDO menProductFunction){
		return menProductFunctionDao.update(menProductFunction);
	}
	
	@Override
	public int remove(String id){
		return menProductFunctionDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return menProductFunctionDao.batchRemove(ids);
	}

    @Override
    public List<MenProductFunctionDO> likeList(Map<String, Object> map){
        return menProductFunctionDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return menProductFunctionDao.likeListCount(map);
    }
	
}
